#include "BulletCollision/CollisionShapes/btConvexTriangleMeshShape.h"
#ifdef __cplusplus
extern "C" {
#endif
btConvexTriangleMeshShape* bullet_NewbtConvexTriangleMeshShape(btStridingMeshInterface* meshInterface,bool calcAabb){
	btStridingMeshInterface * c_arg_meshInterface=(btStridingMeshInterface *)(void*)(meshInterface);
	bool c_arg_calcAabb=calcAabb;
	btConvexTriangleMeshShape* wrap_out = new btConvexTriangleMeshShape(c_arg_meshInterface,c_arg_calcAabb);
	return wrap_out;
}

void bullet_btConvexTriangleMeshShape_calculatePrincipalAxisTransform(btConvexTriangleMeshShape* c_this,btTransform* principal,btVector3* inertia,double* volume){
	btTransform& c_arg_principal=(btTransform&)(*principal);
	btVector3& c_arg_inertia=(btVector3&)(*inertia);
	btScalar& c_arg_volume=(btScalar&)(*volume);
	c_this->calculatePrincipalAxisTransform(c_arg_principal,c_arg_inertia,c_arg_volume);
}

#ifdef __cplusplus
}
#endif
